﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<eNoticeMVC.Models.Profile>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewProfile
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Profile</h2>
    <div class="display-label"><%: Html.LabelFor(m => m.FirstName) %></div>
    <div class="display-field"><%: Html.DisplayFor(m => m.FirstName) %></div>

    <div class="display-label"><%: Html.LabelFor(m => m.LastName) %></div>
    <div class="display-field"><%: Html.DisplayFor(m => m.LastName) %></div>

    <div class="display-label"><%: Html.LabelFor(m => m.Phone) %></div>
    <div class="display-field"><%: Html.DisplayFor(m => m.Phone) %></div>

    <div class="display-label"> <%: Html.LabelFor(m => m.Address) %></div>
    <div class="display-field"><%: Html.DisplayFor(m => m.Address)%></div>

    <p><%:  Html.ActionLink("Edit Profile", "EditProfile")%></p>
</asp:Content>
